﻿using System.Windows;
using X.WPF.Controls.CustomControls;

namespace X.WPF.Controls.EventArgs.CanvasShapeArgs
{
    /// <summary>
    /// 画布型状绘制取消事件参数
    /// </summary>
    public class CanvasShapeElementDrawCancelEventArgs : RoutedEventArgs
    {
        #region # 构造器

        #region 00.创建画布型状绘制完成事件参数构造器
        /// <summary>
        /// 创建画布型状绘制完成事件参数构造器
        /// </summary>
        public CanvasShapeElementDrawCancelEventArgs(RoutedEvent routedEvent, object source, CanvasShape shape)
            : base(routedEvent, source)
        {
            this.Shape = shape;
        }
        #endregion

        #endregion

        #region # 属性

        #region 画布型状 —— CanvasShape Shape
        /// <summary>
        /// 画布型状
        /// </summary>
        public CanvasShape Shape { get; set; }
        #endregion


        #endregion
    }
}